<?php


namespace plugin\onecard\app\controller;

use plugin\admin\app\model\TejianScenic;
use support\Request;

class ScenicController extends Base
{
    protected $model = null;

    /**
     * 构造函数
     * @return void
     */
    public function __construct()
    {
        $this->model = new TejianScenic();
    }
    //获取一卡通列表
    public function getHotscenic(Request $request)
    {
        $list = $this->model->gethotscenic();
        return $this->json(0, 'ok', $list);
    }

}